package com.gmrz.uas.plugin.authservice;

/**
 * Created by gongyuqiang on 2017/5/14.
 */
public class AuthServiceConfigSpec {

    protected  String description;
    protected  String defaultValue;
    protected  String dataType;
    protected  boolean optional;

    public AuthServiceConfigSpec(String defaultValue, String description){
        this.defaultValue = defaultValue;
        this.description = description;
        this.optional = false;
    }

    public AuthServiceConfigSpec(String defaultValue, String description, boolean optional){
        this.defaultValue = defaultValue;
        this.description = description;
        this.optional = optional;
    }
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public boolean isOptional() {
        return optional;
    }

    public void setOptional(boolean optional) {
        this.optional = optional;
    }
}
